package cn.edu.lingnan;

import cn.edu.lingnan.tools.DataChe;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.web.multipart.MultipartFile;

import javax.annotation.Resource;
import java.io.*;
import java.io.File;

@SpringBootTest
public class test {

    String path = "F:\\";
    File file = new File(path,"name.txt");

    @Resource
    DataChe dataChe;

    @Test
    public void test() {
        System.out.println(dataChe);
        String code = "1111";
        code = dataChe.getOrderCode("10086");

        System.out.println(code);
    }


}
